<?php

class UnsupportedDatabaseException extends Exception {
	private $dbtype;
	
	public function __construct($dbtype){
		parent::__construct("The selected database is unsupported - Database " . $dbtype);
		
		$this->setDatabaseType($dbtype);
	}
	
	private function setDatabaseType($dbtype){
		$this->dbtype = $dbtype;
	}
	public function getDatabaseType(){
		return $this->dbtype;
	}
}

?>
